.SUFFIXES: .so
CC ?= gcc
CFLAGS += -I${BUILDDIR}/include -shared -DDEBUG=1
LDFLAGS += -L${BUILDDIR}/lib ${BUILDDIR}/lib/libjs_static.a

.c.so:
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $<


